import request from '@/utils/request'

class APISearch {
    /** 搜索 */
    static searchShop(data: any, params: any) {
        return request<any, ResponseData>({
            url: '/SearchShop',
            method: 'POST',
            data,
            params
        })
    }

    /**  */
    static getConditionSelect(type: any) {
        return request<any, ResponseData>({
            url: '/getConditionSelect',
            method: 'POST',
            data: { type }
        })
    }
    static getAiSearch(data: any) {
        return request<any, ResponseData>({
            url: '/getAiSearch',
            method: 'POST',
            data
        })
    }

    
}

export default APISearch
